From a345206fb44c7acc13f4c2e265b2cf98cb0bceb2 Mon Sep 17 00:00:00 2001 From: Hauke Wintjen Date: Tue, 2 Apr 2013 21:09:09 +0200 Subject: [PATCH] disable rpath This has the advance that we dont get any lintian warnings but the drawback that afterwards the drivers.so are no longer found. So this patch is DISABLED in series currently. This is caused by the fact that dlopen does not consider the current dir if not told so (XnLinuxSharedLibs.cpp should be fixed for that). Gbp-Pq: Name 0004-disable-rpath.patch --- ThirdParty/PSCommon/BuildSystem/CommonCppMakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile b/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile index f584b34..b32e422 100644 --- a/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile +++ b/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile @@ -94,7 +94,7 @@ endif ifneq "$(EXE_NAME)" "" OUTPUT_NAME = $(EXE_NAME) # We want the executables to look for the .so's locally first: - LDFLAGS += -Wl,-rpath ./ + # LDFLAGS += -Wl,-rpath ./ OUTPUT_COMMAND = $(CXX) -o $(OUTPUT_FILE) $(OBJ_FILES) $(LDFLAGS) endif ifneq "$(SLIB_NAME)" "" -- 2.30.2